import request from '@/utils/request'

export default {

  //1.执行登录请求
  userLogin(user) {
    return request({
      url: `/uc/login`,
      method: 'post',
      data: user
    })
  },

  //2.登录后获取用户信息
  getUserInfo(){
    return request({
      url: `/uc/getInfo`,
      method: 'get'
    })

  }

}
